package com.meilai.project.controller.web.menu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meilai.project.controller.web.menu.entity.MenuEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;


public interface MenuMapper extends BaseMapper<MenuEntity> {
    @Update("update bill_market set contract_id = #{newContractId} where contract_id = #{oldContractId}")
    void updateContractId(@Param("oldContractId") Long oldContractId, @Param("newContractId") Long newContractId);

}
